Skip to content

[CoreCLR] Support for fastdev assemblies - #10113

Merged
grendello merged 24 commits into
mainfrom
dev/grendel/clr-host-fs-assemblies
May 20, 2025
Merged

[CoreCLR] Support for fastdev assemblies#10113
grendello merged 24 commits into
mainfrom
dev/grendel/clr-host-fs-assemblies

Conversation

@grendello

@grendello grendello commented May 6, 2025

Copy link
Copy Markdown
Contributor

Follow up to #10075

@grendello
grendello force-pushed the dev/grendel/clr-host-fs-assemblies branch from ec78c1f to 7d6817f Compare May 7, 2025 15:44
@grendello
grendello requested a review from Copilot May 7, 2025 16:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for fastdev assemblies and streamlines type mapping functionality while improving build target configuration. Key changes include:

  • Introducing fastdev assemblies support with a new module for opening assemblies.
  • Renaming and refactoring type mapping functions to use std::string_view with explicit length parameters.
  • Updating build targets and tests to enable conditional use of the assembly store (CoreCLR and MonoVM).

Reviewed Changes

Copilot reviewed 30 out of 30 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/native/clr/include/constants.hh Added a new constant DIR_SEP for directory separators.
src/native/clr/host/typemap.cc Renamed and refactored type mapping functions and adjusted string conversions.
src/native/clr/host/internal-pinvokes.cc Updated function calls to align with the updated type mapping API.
src/native/clr/host/host.cc Integrated fastdev assemblies support in assembly probing logic.
src/native/clr/host/fastdev-assemblies.cc New module for loading fastdev assemblies from an override directory.
src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets Updated property definitions for assembly store usage.
Various files in Xamarin.Android.Build.Tasks/Utilities Updated type mapping generators and XML adapters with new length/token fields.
Xamarin.Android.Build.Tasks/Tests Updated tests and test case sources to account for CoreCLR and new parameters.

Comment thread src/native/clr/host/typemap.cc
@grendello grendello changed the title [CLR] Support for fastdev assemblies [CoreCLR] Support for fastdev assemblies May 7, 2025
@grendello

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@grendello
grendello force-pushed the dev/grendel/clr-host-fs-assemblies branch from 68d229d to 3de6409 Compare May 8, 2025 07:57
@grendello

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@grendello

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@grendello

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@grendello

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@grendello
grendello force-pushed the dev/grendel/clr-host-fs-assemblies branch from 06d1bda to 191622f Compare May 8, 2025 14:21
@grendello
grendello force-pushed the dev/grendel/clr-host-fs-assemblies branch 5 times, most recently from 3be5157 to 618486e Compare May 16, 2025 09:16
@grendello
grendello force-pushed the dev/grendel/clr-host-fs-assemblies branch from 618486e to 5ff2419 Compare May 19, 2025 13:44
@grendello
grendello marked this pull request as ready for review May 19, 2025 14:02
@grendello

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@grendello
grendello force-pushed the dev/grendel/clr-host-fs-assemblies branch from 5ff2419 to 29bef2d Compare May 20, 2025 06:47
@grendello
grendello merged commit 7486928 into main May 20, 2025
@grendello
grendello deleted the dev/grendel/clr-host-fs-assemblies branch May 20, 2025 10:41
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants